package com.aliang.shopping.model.vo.cart;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 购物车展示VO对象
 */
@Data
@ApiModel(description = "购物车VO对象")
public class CartShowVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("数据ID")
    private Long id;
    @ApiModelProperty("昵称")
    private String nickname;
    @ApiModelProperty("头像")
    private String avatar;

    /**
     * 购物车信息
     */
    @ApiModelProperty("购物车信息")
    private List<CartVO> cartInfo;
}
